<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta content="width=device-width,initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
	<link rel="shortcut icon" href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/img/logo.png"/>
	<meta name="apple-mobile-web-app-capable" content="no" />
	<title>我的店铺</title>
	<link rel="stylesheet" href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/frame/mui/css/mui.min.css">
    <link rel="stylesheet" type="text/css" href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/font/iconfont.css">
    <link rel="stylesheet" type="text/css" href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/css/app.css?1">
	<style type="text/css">
	</style>
</head>
<body class="mystore">
	<div class="storeMenu">
		<dl class="goto" href="/mobile/my/shop_product">
			<dt style="background-image: url(/static/wechat/img/mystore/product.png);"></dt>
			<dd>产品管理</dd>
		</dl>
		<dl class="goto" href="/mobile/my/order_manage">
			<dt style="background-image: url(/static/wechat/img/mystore/order.png);"></dt>
			<dd>订单管理</dd>
		</dl>
		<dl class="goto" href="/mobile/my/shop_data">
			<dt style="background-image: url(/static/wechat/img/mystore/shop.png);"></dt>
			<dd>营销管理</dd>
		</dl>
	</div>
	<div class="baseData"></div>
	<div class="storeData">
		<dl>
			<dt>{{.rnumn}}</dt>
			<dd>今日访客</dd>
		</dl>
		<dl class='goto' href='/mobile/my/order_manage'>
			<dt>{{.onum}}</dt>
			<dd>今日订单</dd>
		</dl>
		<dl>
			<dt>{{.omoney}}</dt>
			<dd>今日销售额</dd>
		</dl>
		<dl class='goto' href='/mobile/my/order_manage?status=2'>
			<dt>{{.onum2}}</dt>
			<dd>待发货</dd>
		</dl>
		<dl class='goto' href='/mobile/my/order_manage?status=3'>
			<dt>{{.onum3}}</dt>
			<dd>待收货</dd>
		</dl>
		<dl class='goto' href='/mobile/my/order_manage?status=6'>
			<dt>{{.onum6}}</dt>
			<dd>退款订单</dd>
		</dl>
	</div>
	<footer>{{$.system.company}}提供数据支持</footer>
</body>
<script type="text/javascript" src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/js/echarts-all.js?1"></script>
<script type="text/javascript" src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/frame/sui/js/SUI.js"></script>
<script type="text/javascript" src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/frame/mui/js/mui.min.js"></script>
{{template "wechat/public/share.html" .}}
<script type="text/javascript">
        var myChart = echarts.init(document.getElementsByClassName("baseData")[0]);

        // 指定图表的配置项和数据
        var option = {
			    title: {
			        text: '本周访客',
			        subtext: '我的店铺本周访客统计数据',
			        x: 'center'
			    },
			    xAxis: {
			        type: 'category',
			        data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
			    },
			    yAxis: {
			        type: 'value'
			    },
			    series: [{
			        data: {{.rnum}},
			        type: 'line',
			        smooth: true
			    }]
			};


        // 使用刚指定的配置项和数据显示图表。
        myChart.setOption(option);
</script>
</html>